package com.matou.server.biz;

import com.matou.commons.annotation.EnableMaTouLettuceRedis;
import com.matou.commons.annotation.MaTouCloudApplication;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author CM
 * @Date 2021/6/8 16:45
 * @Description MaTouServerBizApplication
 * @Version 1.0
 */
@SpringBootApplication
@RestController
@MaTouCloudApplication
@EnableMaTouLettuceRedis
@MapperScan("com.matou.server.biz.*.mapper")
public class MaTouServerBizApplication {

    public static void main(String[] args) {
        SpringApplication.run(MaTouServerBizApplication.class, args);
    }


    @GetMapping("test")
    public String index(){
        return "hello MaTouCloudServerApplication！！";
    }
}
